@ECHO off
@REM 版本号
set version=1.0.10-dev
@REM 进入移动端目录
call npm run build
cd ../chatGpt/
@REM 镜像打包

docker build -f DockerfileHtmlTest -t registry.cn-hangzhou.aliyuncs.com/xiaoxx/xiaoxx-nginx:%version% .
@REM 镜像推送
docker push registry.cn-hangzhou.aliyuncs.com/xiaoxx/xiaoxx-nginx:%version%
@REM 镜像删除
docker rmi -f registry.cn-hangzhou.aliyuncs.com/xiaoxx/xiaoxx-nginx:%version%
